package cn.edu.xmu.wnw.dao;

import java.util.List;

import org.springframework.context.ApplicationContext;

import cn.edu.xmu.wnw.pojo.Mood;

public interface MoodDAO {

	public void initDao();

	public void save(Mood transientInstance);

	public void delete(Mood persistentInstance);

	public Mood findById(java.lang.Integer id);

	public List findByExample(Mood instance);

	public List findByProperty(String propertyName, Object value);

	public List findByContent(Object content);

	public List findAll();

	public Mood merge(Mood detachedInstance);

	public void attachDirty(Mood instance);

	public void attachClean(Mood instance);

	public MoodDAO getFromApplicationContext(ApplicationContext ctx);
}